package com.ego.member.controller;

import java.util.Arrays;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import com.ego.member.service.MemberLoginLogService;
import com.ego.common.util.Result;

/**
 * @program: ego
 * @description 会员登录记录控制器
 * @author KamTang
 * @date 2022-11-13 13:28:12
 */
@RestController
@RequestMapping("member/memberloginlog")
public class MemberLoginLogController {

    @Autowired
    private MemberLoginLogService memberLoginLogService;

    /**
     * 删除
     */
    @PostMapping("/delete")
    public Result delete(@RequestBody Long[] ids){
		memberLoginLogService.removeByIds(Arrays.asList(ids));
        return Result.ok();
    }

}
